<?php
// +----------------------------------------------------------------------
// | xiongrui [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Copyright (c) 2013 http://www.xiongrui.cn All rights reserved.
// +----------------------------------------------------------------------
// | Author: molong <molong@tensent.cn> <http://www.xiongrui.cn>
// +----------------------------------------------------------------------

namespace app\common\model;


class Goodscat extends Base{

  protected $insert = ['status' => 1];



  public function addfield(){
  return  array(
      array('name'=>'cat_name','title'=>'分类名称','type'=>'text','help'=>''),
      array('name'=>'sort','title'=>'排序','type'=>'num','help'=>''),
      array('name'=>'status','title'=>'状态','type'=>'select','option'=>array('1'=>'启用','0'=>'禁用'),'help'=>''),
    );
  }


}
